package com.neuedu.corejava.ch8.homework;

public class TestByteSizeException {

	public static  void Byte(int a) throws ByteSizeException {
		if (a > 127 || a <= -128) {
			throw new ByteSizeException();
		}
	}

	public static void main(String[] args) {
		try {
			Byte(565);
		} catch (ByteSizeException e) {
			e.printStackTrace();
		}

	}

}
